package cn.edu.zafu.bigdata.yh;
// 测试类
public class TestBook {
    public static void main(String[] args) {
        // 创建几个 Book 对象
        Book book1 = new Book("Java Programming", "John Doe", 29.99);
        Book book2 = new Book("Learning Python", "Jane Smith", 24.50);
        Book book3 = new Book("Data Structures and Algorithms", "Alice Johnson", 39.95);

        // 打印 Book 对象的信息
        System.out.println(book1);
        System.out.println(book2);
        System.out.println(book3);
    }
}
